﻿﻿package test {
	import extremefx.anim.Tween;
	import extremefx.ui.UIStage;
	
	import flash.display.Sprite;		

	/**
	 * @author Marcelo Volmaro
	 */
	 
	[Frame(factoryClass="extremefx.Preloader")];
	public class TweenTest extends Sprite {
		
		public function main():void {
			UIStage.init(this.stage);
			
			var s:Sprite = new RectangleClass() as Sprite;
			UIStage.STAGE.addChild(s);
			
			var t:Tween = new Tween(s, 1, {x:200, y:200});
			t.setProperty("width", 100);
		}
	}
}
